﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Traceability.Infrastructure
{
    public interface IBaseRepository<T> where T : class
    {
        Task<int> Add(T entity);
        Task<int> ListAdd(List<T> entity);
        Task<int> Update(T entity);
        Task<int> ListUpdate(List<T> entity);
       IQueryable<T> GetAll();

       Task<int> Del(T entity);
        
        
    }
}
